import App from './App'
import webView from './common/utils/web-view.js'

// #ifndef VUE3
import Vue from 'vue'
import uView from 'uview-ui'
import store from '@/store'
let vuexStore = require("@/store/$u.mixin.js")
Vue.use(uView)
Vue.mixin(vuexStore)
Vue.prototype.$store = store
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
// 引入请求封装，将app参数传递到配置中
require('@/config/request.js')(app)
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif